package com.chinasofti.io;

import java.io.File;

public class Demo01 {
    public static void main(String[] args) {
        File file1 = new File("E:\\changxin\\java.txt");
        System.out.println("file1 = " + file1);
            File file2 = new File("E\\changxin","java.txt");
        System.out.println("file2 = " + file2);

        File file3 = new File("E\\changxin");
        File file4 = new File(file3,"java.txt");
        System.out.println("file4 = " + file4);
    }
}
